<ui:composition template="/WEB-INF/templates/login-template.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

	<ui:define name="menu"></ui:define>
	<ui:define name="submenu"></ui:define>
	<ui:define name="sidebar">
		<ui:include src="/WEB-INF/templates/public-sidebar.xhtml" />
	</ui:define>
	<ui:define name="content">
	
	<h:form>

	    <h:outputText value="View Recruitment Request" styleClass="outputTextTitle"/>

	  	    
		<p:panel header="Employee Details"> 
            <h:panelGrid columns="6" style="width: 100%" cellspacing="7" columnClasses="employeeDetailLabel,gridCellMiddleLeftAligned, employeeDetailText, employeeDetailLabel,gridCellMiddleLeftAligned, employeeDetailText"> 
	           
	           <h:outputLabel value="RRF Code " />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.recruitmentRequestCode}" />
	           <h:outputLabel value="Request Date" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.requestDate}" >
	          		 <f:convertDateTime pattern="dd-MMM-yyyy HH:mm a" timeZone="#{viewRRFByReportingManagerBean.timeZone}"/>
			   </h:outputLabel>
	                      
	           <h:outputLabel value="#{msg['employeename.label']}" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.employee.firstName} #{viewRRFByReportingManagerBean.recruitmentRequest.employee.lastName}" />
	           <h:outputLabel value="Employee Code" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.employee.employeeCode}" />       
	           
	           <h:outputLabel value="Department" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.employee.moduleName}" />
	           <h:outputLabel value="Center Head" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.centerHead.firstName} #{viewRRFByReportingManagerBean.recruitmentRequest.centerHead.lastName}" />   
             </h:panelGrid>
          </p:panel>
           
          <p:panel header="Recruitment Details">
          	 <h:panelGrid columns="6" style="width: 100%" cellspacing="7" columnClasses="employeeDetailLabel,gridCellMiddleLeftAligned, employeeDetailText, employeeDetailLabel,gridCellMiddleLeftAligned, employeeDetailText">  
	          
	           <h:outputLabel value="#{msg['band.lable']}" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.band.band}"  />    
	           <h:outputLabel value="#{msg['businessfunction.lable']}" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.band.businessFunction}"  />
	  
	           <h:outputLabel value="#{msg['supportfunction.lable']}" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.band.supportFunction}"  />
	           <h:outputLabel value="#{msg['client.lable']}" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.clientDetails}" />
	      
	           <h:outputLabel value="#{msg['recruiter.lable']}" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.recruiter.firstName}  #{viewRRFByReportingManagerBean.recruitmentRequest.recruiter.lastName}" />
	           <h:outputLabel value="#{msg['interviewlevel.lable']}" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.interviewLevel}"/>
    
	           <h:outputLabel value="No of Positions" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.noofPositions}" />
	           <h:outputLabel value="#{msg['technology.lable']}" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.technology.displayName}" />

	           <h:outputLabel value="#{msg['interviewerone.lable']}" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.interviewer1.firstName} #{viewRRFByReportingManagerBean.recruitmentRequest.interviewer1.lastName}" />
	           <h:outputLabel value="#{msg['interviewertwo.lable']}" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.interviewer2.firstName} #{viewRRFByReportingManagerBean.recruitmentRequest.interviewer2.lastName}" />

	           <h:outputLabel value="#{msg['relaventexperience.lable']}" />    
	           <h:outputLabel value=" : " />       
	           <h:panelGrid columns="3">
	             <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.relaventExperienceFrom}" /> 
	             <h:outputLabel value="-" style="font-weight:bold;" /> 
	             <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.relaventExperienceTo}" />
	           </h:panelGrid>
	           <h:outputLabel value="#{msg['domainexperience.lable']}" />
	           <h:outputLabel value=" : " />
	           <h:panelGrid columns="3">
	             <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.domainExperienceFrom}" /> 
	             <h:outputLabel value="-" style="font-weight:bold;" /> 
	             <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.domainExperienceTo}" />
	           </h:panelGrid>  
	          
	           <h:outputLabel value="Hire Mode " />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.recruitmentMode}"/>
	           <h:outputLabel value="#{msg['recruitmentpriority.lable']}" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.recruitmentPriority}" />       
	           
	           <h:outputLabel value="Salary Range(INR)" /> 
	           <h:outputLabel value=" : " />
	           <h:panelGrid columns="3">
	             <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.salaryRangeFrom}" /> 
	             <h:outputLabel value="-" style="font-weight:bold;" /> 
	             <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.salaryRangeTo}" />
	           </h:panelGrid>             
	           <h:outputLabel value="#{msg['location.lable']}" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.jobLocation}" />
	 
	           <h:outputLabel value="#{msg['recruitmentenddate.lable']}" />
	           <h:outputLabel value=" : " />
	           <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.recritmentEndDate}" >
	           		<f:convertDateTime pattern="dd-MMM-yyyy"/>
			   </h:outputLabel>            
           
           </h:panelGrid>
           <br />
           <h:panelGrid columns="3" >
          		 <h:outputLabel value="Primary Skills " style="font-weight:bold;" />
          		 <h:outputLabel value=" : " style="font-weight:bold;" />
                 <h:inputHidden />   <h:inputHidden />
                 <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.primarySkills}" />
                                    
           		 <br /><br /><h:inputHidden /><h:inputHidden /><h:inputHidden />
           		 <h:outputLabel value="Secondary Skills " style="font-weight:bold;"/>
           		 <h:outputLabel value=" : " style="font-weight:bold;" />
           		 <h:inputHidden /><h:inputHidden />
           		 <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.secondarySkills}" />
           		 
           		 <br /><br /><h:inputHidden /><h:inputHidden /><h:inputHidden />
           		 <h:outputLabel value="Job Description " style="font-weight:bold;"/>
           		 <h:outputLabel value=" : " style="font-weight:bold;" />
           		 <h:inputHidden /><h:inputHidden />
           		 <h:outputLabel value="#{viewRRFByReportingManagerBean.recruitmentRequest.jobDescription}" />
           </h:panelGrid>  
        </p:panel>
                 
        <h:panelGroup style="float:right;">
         	<p:commandButton value="Close" onclick="window.close();" rendered="#{viewRRFByReportingManagerBean.renderCloseButton}"/>   
         	<p:commandButton value="Back" onclick="history.back();" rendered="#{viewRRFByReportingManagerBean.renderBackButton}"/>          	
         	<p:commandButton action="#{viewRRFByReportingManagerBean.editAction}" value="Upload Resumes" rendered="#{viewRRFByReportingManagerBean.renderUploadButton}" >			
				<f:param id="rrfCode" name="rrfCode" value="#{viewRRFByReportingManagerBean.recruitmentRequest.recruitmentRequestCode}" />
				<f:param id="technology" name="technology" value="#{viewRRFByReportingManagerBean.recruitmentRequest.technology.displayName}" />
			</p:commandButton>
         </h:panelGroup>
     </h:form>
	</ui:define>
</ui:composition>
